package com.whxd.system.resource.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.whxd.framework.security.SecurityUtils;
import com.whxd.system.resource.entity.Resource;
import com.whxd.system.resource.repository.ResourceDao;

/**
 * 资源服务接口
 * 
 * @author 张世鹏
 * @since 2015-2-14
 */
@Service
public class ResourceServiceImpl implements ResourceService {

	@Autowired
	private ResourceDao resourceDao;

	@Override
	public List<Resource> findMyMenu(String username) {
		return resourceDao.findMyResource(username);
	}

}
